//#include "ListFileMultiMedia.h"
#pragma once
#include "GraphicsFullScreenVideo.h"
#include "MediaObject.h"


class GraphicControlMedia:public CWnd
{
	DECLARE_DYNAMIC(GraphicControlMedia)
public:
	 GraphicControlMedia(void);
	~GraphicControlMedia(void);


	DECLARE_MESSAGE_MAP()
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();

public:
	CButton m_btnPlayPause;
	CButton m_btnStop;
	CButton m_btnNext;
	CButton m_btnPrevious;
	CButton m_btnFullScreen;
	CStatic m_stcTimePlaying;
	CStatic m_stcTab;
	CStatic m_stcTimeTotal;
	CButton m_btncheckLoop;
	CButton m_btncheckmute;
	CSliderCtrl m_SliderSeeking;
	CSliderCtrl m_SliderVolume;
	 CArray<MediaObject,MediaObject&> MediaObjects;

   
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);

	//ListFileMultiMedia m_listFileMultiMedia;
	afx_msg void OnBnClickedFullScreen();
	afx_msg void OnBnClickedPlayPause();
	afx_msg void OnBnClickedStop();
	afx_msg void OnBnClickedNext();
	afx_msg void OnBnClickedPrevious();
	afx_msg void OnNMReleasedcaptureSldSeekBar(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnNMReleasedcaptureSldVolume(NMHDR *pNMHDR, LRESULT *pResult);
};
